package net.myjung.content;

import java.util.Date;

import net.myjung.model.BaseObject;
import net.myjung.model.annotation.MdlAttribute;
import net.myjung.model.annotation.MdlClass;
import net.myjung.model.annotation.MdlElement;

@MdlClass(name = "Text")
@SuppressWarnings("serial")
public class CttText extends BaseObject {
	@MdlAttribute(type = "id")
	private String id;
	@MdlAttribute(type = "string")
	private String name;
	@MdlAttribute(type = "creator")
	private String creator;
	@MdlAttribute(type = "creationDate")
	private Date created;
	@MdlAttribute(type = "modifier")
	private String modifier;
	@MdlAttribute(type = "modificationDate")
	private Date modified;
	@MdlAttribute(type = "string")
	private String type;
	@MdlAttribute(type = "string")
	private String username;
	@MdlElement(type = "text")
	private String data;

	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getCreator() {
		return creator;
	}
	public void setCreator(String creator) {
		this.creator = creator;
	}
	public Date getCreated() {
		return created;
	}
	public void setCreated(Date created) {
		this.created = created;
	}
	public String getModifier() {
		return modifier;
	}
	public void setModifier(String modifier) {
		this.modifier = modifier;
	}
	public Date getModified() {
		return modified;
	}
	public void setModified(Date modified) {
		this.modified = modified;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getData() {
		return data;
	}
	public void setData(String data) {
		this.data = data;
	}
}